

//隐藏提示框
function hide(){
    (document.getElementById("al")).style.display='none';
}

//重新属性框架样式
function reLoadCss(){
    $.ajax({
        type: "post",
        url: "/futer/reLoadCss",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (response, ifo) {

            if (response=='请求被拒绝，无权限访问'){
                parent.sengToLogin();
                return;
            }


            var h=document.getElementsByTagName("h3");
            var span=document.getElementsByTagName("span");
            (document.getElementById("parent")).style.backgroundColor=response.missionbg;
            for (var i=0;i<span.length;i++){
                span[i].style.color=""+response.missionfontcolor+"";
            }
            for (var i=0;i<h.length;i++){
                h[i].style.color=""+response.missionfontcolor+"";
            }
        }, error: function (err) {
            alert("修改失败！");
        }
    })

}